﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BCDto.TMS.LearnTrain.LearnTrainStatistics
{
    /// <summary>
    /// 司机培训
    /// </summary>
    public class LearnTrainDto
    {
        #region 培训人数合计
        /// <summary>
        /// 应安排培训人数统计
        /// </summary>
        public PendingLearningDriverDto PendingLearningDriverDto { get; set; }
        /// <summary>
        /// 实际安排培训人数统计
        /// </summary>
        public PracticalLearningDriverDto PracticalLearningDriverDto { get; set; }
        /// <summary>
        /// 未安排培训人数统计
        /// </summary>
        public UnscheduledLearningDto UnscheduledLearningDto { get; set; }
        /// <summary>
        /// 实到培训人数
        /// </summary>
        public ArrivalLearningDto ArrivalLearningDto { get; set; }
        /// <summary>
        /// 已安排培训未到人数
        /// </summary>
        public AlreadyLearningDto AlreadyLearningDto { get; set; }

        /// <summary>
        /// 已安排培训未到人数
        /// </summary>
        public PassLearningDto PassLearningDto { get; set; }
        #endregion

    }


    #region 培训人数统计
    /// <summary>
    /// 通过培训人数
    /// </summary>
    public class PassLearningDto
    {
        /// <summary>
        /// 本月通过培训人数
        /// </summary>
        public int PassLearningDriverCount { get; set; }
        /// <summary>
        /// 上月通过培训人数
        /// </summary>
        public int MonthPassLearningDriverCount { get; set; }

        /// <summary>
        /// 环比是否增加
        /// </summary>
        public bool IsMonthOnMonthPassLearningDriver { get; set; }
        /// <summary>
        /// 环比增长率
        /// </summary>
        public string MonthOnMonthPassLearningDriverRate { get; set; }
        /// <summary>
        /// 通过率
        /// </summary>
        public string PassLearningDriverRate { get; set; }
    }
    /// <summary>
    /// 已安排未培训人数
    /// </summary>
    public class AlreadyLearningDto
    {
        /// <summary>
        /// 本月已安排未培训人数
        /// </summary>
        public int AlreadyLearningDriverCount { get; set; }
        /// <summary>
        /// 上月已安排未培训人数
        /// </summary>
        public int MonthAlreadyLearningDriverCount { get; set; }

        /// <summary>
        /// 环比是否增加
        /// </summary>
        public bool IsMonthOnMonthAlreadyLearningDriver { get; set; }
        /// <summary>
        /// 环比增长率
        /// </summary>
        public string MonthOnMonthAlreadyLearningDriverRate { get; set; }
    }

    /// <summary>
    /// 实到培训人数
    /// </summary>
    public class ArrivalLearningDto
    {
        /// <summary>
        /// 本月实到培训人数
        /// </summary>
        public int ArrivalLearningDriverCount { get; set; }
        /// <summary>
        /// 上月实到培训人数
        /// </summary>
        public int MonthArrivalLearningDriverCount { get; set; }

        /// <summary>
        /// 环比是否增加
        /// </summary>
        public bool IsMonthOnMonthArrivalLearningDriver { get; set; }
        /// <summary>
        /// 环比增长率
        /// </summary>
        public string MonthOnMonthArrivalLearningDriverRate { get; set; }
    }
    /// <summary>
    /// 未安排培训人数统计
    /// </summary>
    public class UnscheduledLearningDto
    {
        /// <summary>
        /// 本月未安排培训人数
        /// </summary>
        public int UnscheduledLearningDriverCount { get; set; }
        /// <summary>
        /// 上月未安排培训人数
        /// </summary>
        public int MonthUnscheduledLearningDriverCount { get; set; }

        /// <summary>
        /// 环比是否增加
        /// </summary>
        public bool IsMonthOnMonthUnscheduledLearningDriverDriver { get; set; }
        /// <summary>
        /// 环比增长率
        /// </summary>
        public string MonthOnMonthUnscheduledLearningDriverRate { get; set; }
    }


    /// <summary>
    /// 实际安排培训人数统计
    /// </summary>
    public class PracticalLearningDriverDto
    {
        /// <summary>
        /// 本月实际安排培训人数
        /// </summary>
        public int PracticalLearningDriverCount { get; set; }
        /// <summary>
        /// 上月实际安排培训人数
        /// </summary>
        public int MonthPracticalLearningDriverCount { get; set; }
        /// <summary>
        /// 环比是否增加
        /// </summary>
        public bool IsMonthOnMonthPracticalLearningDriver { get; set; }
        /// <summary>
        /// 环比增长率
        /// </summary>
        public string MonthOnMonthPracticalLearningDriverRate { get; set; }
    }

    /// <summary>
    /// 应安排培训人数统计
    /// </summary>
    public class PendingLearningDriverDto
    {
        /// <summary>
        /// 本月应安排培训人数
        /// </summary>
        public int PendingLearningDriverCount { get; set; }
        /// <summary>
        /// 上月应安排培训人数
        /// </summary>
        public int MonthPendingLearningDriverCount { get; set; }
        /// <summary>
        /// 环比是否增加
        /// </summary>
        public bool IsMonthOnMonthPendingLearningDriver { get; set; }
        /// <summary>
        /// 环比增长率
        /// </summary>
        public string MonthOnMonthPendingLearningDriverRate { get; set; }
    }
    #endregion
}
